<script setup lang="ts">
	defineProps<{
		title ?: string
		likes ?: number
	}>()
	defineEmits(['remove'])
</script>

<template>
	<li>
		{{ title }}
		<button @click="$emit('remove')">Remove</button>
	</li>
</template>